<?php
$config = array(
	'insert'=>array(
	array('field' => 'commodity_code', 'label' => 'lang:commodity_code_field', 'rules' => 'trim|required|min_length[2]|max_length[20]')
	),
	'update'=>array(
	array('field' => 'commodity_code', 'label' => 'lang:commodity_code_field', 'rules' => 'trim|required|min_length[2]|max_length[20]')	
	)
);